package com.zelin.pay.service;

import com.zelin.entity.PayLogEntity;
import com.zelin.entity.vo.PayAsyncVo;
import com.zelin.entity.vo.PayVo;

import java.util.Map;

/**
 * Created by WF on 2021/8/17 15:00
 */
public interface PayService {
    PayLogEntity findPayLogByUserId(String name);

    PayVo findPayVoFromRedis(String name, String tradeNo);

    String pay(PayVo payVo,int type) ;

    String payNotify(PayAsyncVo vo, Map<String, String> params);

    String orderPayNotify(PayAsyncVo vo, Map<String, String> params);
}
